package com.cmc.cloud.cmclink.doc.api.document.req.so.sovo.sobcrcheck;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * SO的bcr检查分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - SO的bcr检查分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SoBcrCheckPageReqVO extends PageParam {

    @Schema(description = "主键", example = "17176")
    private Long soId;

    @Schema(description = "禁用类主id", example = "29434")
    private Long ruleMainId;

    @Schema(description = "规则名称", example = "李四")
    private String ruleName;

    @Schema(description = "规则类型", example = "1")
    private String ruleType;

    @Schema(description = "代码")
    private String code;

    @Schema(description = "中文名称")
    private String codeDesc;

    @Schema(description = "状态", example = "2")
    private Boolean checkStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
